﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplicationCultura.Pages.Eventos
{
    public partial class modificarevento1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            try
            {
                Response.Redirect("/Pages/eventos.aspx");
            }
            catch (Exception)
            {
            }
        }

        protected void Button3_Click(object sender, EventArgs e)
        {
            try
            {
                if (Calendar1.Visible == true)
                {
                    Calendar1.Visible = false;
                    Button3.Text = "Calendario";
                }
                else
                {
                    Calendar1.Visible = true;
                    Button3.Text = "Ocultar";
                }
            }
            catch (Exception)
            {
            }
        }

        protected void Button4_Click(object sender, EventArgs e)
        {
            try
            {
                if (Calendar2.Visible == true)
                {
                    Calendar2.Visible = false;
                    Button4.Text = "Calendario";
                }
                else
                {
                    Calendar2.Visible = true;
                    Button4.Text = "Ocultar";
                }
            }
            catch (Exception)
            {
            }
        }
    }
}